﻿/*
 * AUTHOR: TPL (Lam Phat Tai)
 * VERSION: 1.0   
 *
 */

/* define tag
----------------------------------------------------------*/
* {
    outline: none;   
}

html {
    background-color: #fff;
    margin: 0;
    padding: 0;  
    height: 100%;  
}

body {
    background-color: #fff;
    color: #333;
    font-size: .75em;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;  
}

a {    
    outline: none;
    color: #416ed8;
    text-decoration: none;
}

    a:hover {
        border-bottom-color: #416ed8;
        text-decoration: underline;
    }

header, footer, hgroup, nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
    font-weight: 100;
}

h2 {
    font-size: 1.75em;
    font-weight: 100;
}

h3 {
    font-size: 1.2em;
    font-weight: 100;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }


/* helper
----------------------------------------------------------*/

.transition {
     -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear {
    clear: both;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

.hide {
    display: none;
}

.line-bottom {
    border-bottom: 1px solid #eee;
}

.center {
    display: block;
    margin: auto;
}

.text-normal {
    font-weight: 100;
}

.uppercase {
    text-transform: uppercase;
}

.icon {
    background: url(../Images/icon.png) no-repeat 0 0;
    display: block;
}

.icon-love {
    background-position:-55px -104px;
    width: 46px;
	height: 43px;
}
.icon-send {
    background-position: 0 0;
    width: 46px;
	height: 43px;
}


/* layout
----------------------------------------------------------*/
#container {
    min-height: 100%;
    position: relative;
}

.content-wrapper {
    margin: 0 auto;
    max-width: 957px;
    position: relative;
    padding: 0;
}

#body {
    clear: both;
    padding-bottom: 200px;
}

    .main-content {
    }

    .featured + .main-content {
    }

header .content-wrapper {
}

footer {
    clear: both;
    font-size: 1em;
    color: #888;
    line-height: 18px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    margin-top: 120px;
    padding-top: 20px;
    text-align: center;
    background-color: #fff;
}


/* header
----------------------------------------------------------*/
#header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

    #header #site-title {
        font-family: 'Lobster Two', cursive;
        font-size: 2em;
        font-weight: bold;
        text-transform: capitalize;
        border-bottom: 0;
        height: 50px;
        line-height: 49px;
        display: inline-block;
        color: #111;
    }

    #header #deco-ball {
        position: absolute;
        top: 0;
        right: 0;
        margin-top: -151px;
    }

    #site-title:hover {
        background-color: transparent;
    }


/* login */
#login {
    display: inline-block;
    font-size: 1em;
    margin: 0;    
    height: 50px;
}

    #login a {
        margin-left: 20px;
        padding: 6px 9px 7px;
        text-decoration: none;
        border-radius: 2px;
        text-decoration: none;
        border-bottom: none;
    }

    #login a.username {
        background: none;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    #login .authenticated .user-icon {
        display: block;
        position: relative;
        height: 30px;
        width: 30px;
        background-color: #ddd;
        border-radius: 50%;
        overflow: hidden;
        margin: 6px 12px 6px 0;
    }

    #login .authenticated .user-icon:before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 12px;
        height: 12px;
        margin-left: -6px; 
        background-color: #aaa;
        border-radius: 50%;
    }

    #login .authenticated .user-icon:after {
        content: "";
        position: absolute;
        top: 11px;
        bottom: 0;
        left: 50%;
        width: 20px;
        height: 20px;
        margin-left: -10px; 
        background-color: #aaa;
        border-radius: 50%;
    }

    #login .anonymous,
    #login .authenticated {
        font-size: 1em;
        height: 100%;
        line-height: 40px;
        margin: 4px;
    }

    #login .anonymous a {
        color: #fff;
    }

    #login .anonymous #ref-register {
        color: #fff;
        background-color: #ff176a;

    }

    #login .anonymous #ref-login,
    #login .authenticated #logoutForm a {
        color: #555;
        background-color: #eee;
    }

/* login page */
#login-form,
#register-form {
    background-color: #333;
    color: #fff;
    padding-bottom: 20px;
    position: relative;
}

    #login-form h1,
    #register-form h1 {
        margin: 0 0 15px;        
        padding: 20px 0 0;
        color: #fff;
    }

    #login-form input,
    #register-form input {
        margin-right: 8px;
    }

    #login-form .close,
    #register-form .close {
        display: block;
        position: absolute;
        top: 20px;
        right: 0;
        color: #fff;
        font-size: 1.4em;
        font-weight: bold;
        border: 3px solid #fff;
        border-radius: 50%;
        height: 30px;
        width: 30px;
        line-height: 30px;
        text-align: center;
        cursor: pointer;
    }

/* menu */
#nav-wrapper { 
    height: 50px;
    line-height: 50px;
}

#nav { 
    margin-left: 20px;
}

#nav a {
    margin-left: 20px;
    text-transform: uppercase;
    color: #bbb;
    border-bottom: 0;
}

#nav a:last-child {
    margin-right: 0;
}

#nav a.active {
    color: #000;
}

#nav a.active:hover {
     text-decoration: none;
}

#nav a:hover {
     text-decoration: underline;
}

ul#menu {
    font-size: 1.2em;    
    font-weight: bold;
    margin: 20px 0;
    padding: 0;
}

    ul#menu li {
        display: inline-block;
        list-style: none;
        padding-left: 8px;
        padding-right: 8px;
    }

    ul#menu li:first-child {
        padding-left: 0;
    }

        ul#menu li a {
            background: none;
            text-decoration: none;
            color: #383229;
            border: 1px solid #fff;
            display: block;
            padding: 5px 9px;
            border-radius: 2px;
        }

            ul#menu li a.actived {
                color: #fff;
                background-color: #03a2dd !important;
                text-decoration: none;
                border-color: #00abeb !important;
                -webkit-box-shadow: 3px 3px 0 #e0f0f6 !important;
                 box-shadow: 3px 3px 0 #e0f0f6 !important;
            }

            ul#menu li a:hover {
                color: #fff;
                background-color: #555;
                text-decoration: none;
                border-color: #565656;
                -webkit-box-shadow: 3px 3px 0 #c8c8c8;
                 box-shadow: 3px 3px 0 #c8c8c8;
            }


/* body
----------------------------------------------------------*/

/* Banner */
#panel-banner {
    background: url(../Images/bg_banner.jpg) repeat 0 0;
    height: 298px;   
    -webkit-box-shadow:inset 0 0 20px 0 rgba(0,0,0,0.05);
    box-shadow:inset 0 0 20px 0 rgba(0,0,0,0.05); 
}

#panel-banner .content-wrapper {
    height: 100%;
}

#panel-banner .welcome {
    background-color: rgba(255,255,255,0.9);
    position: absolute;
    color: #333;
    padding: 20px 40px;
    top: 20%;    
    border-radius: 1px;
}

    #panel-banner .welcome h1 {
        margin-top: 0;
        color: #333;
        font-size: 2.6em;
    }

    #panel-banner .welcome h3 {
        margin-top: 10px;
        color: #666;
    }

#panel-banner .link {
    background-color: rgba(63, 221, 24, 0.9);
    position: absolute;
    color: #FFF;
    padding: 10px 20px;
    top: 60%;
    border-radius: 1px;
    font-size: 1.5em;
    text-transform: uppercase;
    cursor: pointer;
}

/* content empty */
.content-empty {
    color: #111;
    margin: 20px 0;
    font-size: 1.3em;
}

/* shop shortcut */
#shop-type {
    width: 50%;
}

#shop-type .type-anchor {
    background-color: #faf1a2;
}

#shop-type .type-anchor h1 {
    color: #ecda39;
}

#shop-search { 
    width: 50%;
}

/* new */
#hot .group-title .title {
    color: #ed5155 !important;
}

#hot .group-title .more-info {
    color: #333 !important;
}

/* hot */
#new .group-title .title {
    color: #4a4696 !important;
}

#new .group-title .more-info {
    color: #333 !important;
}

/* group grid */
.group {
    clear: both;
    border: 1px solid #eee;
    margin: 40px 0 20px;
}

.group > .group-title {       
    color: #000;
    border-bottom: 1px solid #EEE;
    box-sizing: border-box;
}

.group > .group-title .deco {
    height: 62px;
    border-right: 1px solid #eee;
}

.group > .group-title .deco .icon {
    margin: 10px;
}

.group > .group-title .title {
    font-size: 1.3em;
    text-transform: uppercase;
    padding: 10px 10px 5px;    
    display: block;
    font-weight: bold;    
}

.group > .group-title .more-info {
    display: block;    
    color: #666;
    padding: 0px 10px 10px;
}

/* grid */
.grid {
    display: block;    
}

.grid > .item {
    float: left;
    position: relative;
    width: 220px;
    border-right: 1px solid #EEE;
    padding: 10px 9px 0px;
}

    .grid > .item:nth-child(4n+4) {
        border-right: 0;
    }


.grid > .item > a {
    display: block;
    text-decoration: none;
    padding: 0;
    border-bottom: 0;
}

.grid > .item > a:hover {
    background-color: transparent;
}

.grid > .item .item-group-1 {
    padding: 5px 0;
}

.grid > .item .item-group-2 {
    padding: 10px 0;
    border-top: 1px dashed #eee;
}

.grid > .item .name {
    text-transform: capitalize;
    display: block;    
    font-weight: bold;
    color: #333;
}

.grid > .item .image {
    height: 200px;
    width: 100%;
    background-color: #eee;
}

.grid > .item .image img {
    max-width: 100%;
}

.grid > .item .price {
    color: #333;
    font-weight: bold;
}

.grid > .item a:hover .name,
.grid > .item a:hover .price {
    color: #111;
}

/* => border white */
.group.border-white,
.group.border-white > .group-title,
.group.border-white .grid > .item,
.group.border-white .grid > .item .item-group-2 {
    border-color: #fff;
}

/* => group card */
.group.group-card {
    border: none;
}

.group.group-card .grid > .item {
    width: 213px;
    border: 1px solid #eee;
    margin: auto 4px;
}

.group.group-card .grid > .item:first-child,
.group.group-card .grid > .item:nth-child(4n+5) {
    margin-left: 0
}

.group.group-card .grid > .item:nth-child(4n+4) {
    border: 1px solid #eee;
    margin-right: 0;
}

/* group-form */
.group-form
{
    margin: 40px 0 10px;
    background-color: #fff;
}

.group-form .group-form-header .sub-title
{
    color: #888;
}

.group-form .group-form-header .title
{
    margin-top: 0;
    font-weight: 100;
    font-size: 3em;
}

.group-form .group-form-body
{
    padding: 20px 0;
}

.group-form .group-form-body .info
{
    margin-top: 0;
    margin-bottom: 10px;
}

.group-form .group-form-body h5
{
    margin-top: 0;
}

.group-form .group-form-body input[type='text'],
.group-form .group-form-body input[type='file'],
.group-form .group-form-body select
{
    width: 500px;
    padding: 10px 10px 11px;
}

.group-form #group-type 
{
    margin-bottom: 30px;
}

.group-form .success 
{
    background: #2DE075;
    color: #fff;
    padding: 5px 10px;
    width: 500px;
    box-sizing: border-box;
    margin-top: 10px;
    cursor: pointer;    
}


.group-form .error 
{
    background: #F8213B;
    color: #fff;
    padding: 5px 10px;
    width: 500px;
    box-sizing: border-box;
    margin-top: 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }
select 
{
    margin: 5px 0;
}

label {
    display: block;
}

label.checkbox {
    display: inline;    
}

.checkbox {
    display: block;
}

.checkbox input[type=checkbox] {
    display: block;
    float: left;   
    margin-right: 5px !important; 
}

.checkbox label {
    display: block;    
    float: left;
    line-height: 24px;
}

button {
    font-family: 'Roboto', sans-serif;
}

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1em;
    margin: 5px 0;
    padding: 5px 6px 6px;
    width: 200px;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

textarea {
    font-family: inherit;
    width: 500px;
}

    input:focus, textarea:focus {
        border: 1px solid #64D6FA;
    }

    input[type="checkbox"] {
        background: transparent;
        border: inherit;
        width: auto;
    }

    input[type="submit"],
    input[type="button"],
    button,
    .btn {
        background-color: #eee;
        border: 1px solid #eee;
        cursor: pointer;
        font-size: 1em;
        padding: 5px 12px 6px;
        margin-right: 8px;
        width: auto;
        border-radius: 1px;
    }

    .btn-primary {
        background-color: #00abeb !important;
        color: #fff;
        border-color: #00abeb !important;
    }

    td input[type="submit"],
    td input[type="button"],
    td button,
    td .btn {
        font-size: 1em;
        padding: 4px;
        margin-right: 4px;
    }


/* footer
----------------------------------------------------------*/

/* page elements
----------------------------------------------------------*/
/* panel */
.panel-login {
    border: 2px solid #e6e6e6;
    border-width: 2px 0;    
    padding: 30px 0;
}

/* anonymous */


/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

hgroup.title h1, hgroup.title h2 {
    display: inline;
}

hgroup.title h2 {
    font-weight: normal;
    margin-left: 3px;
}

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}



#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom:  5px;
    }

#socialLoginList button {
    margin-bottom: 12px;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}


/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/* tables
----------------------------------------------------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
}

th {
    font-size: 1.2em;
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

    th a {
        display: block;
        position: relative;
    }

    th a:link, th a:visited, th a:active, th a:hover {
        color: #333;
        font-weight: 600;
        text-decoration: none;
        padding: 0;
    }

    th a:hover {
        color: #000;
    }

    th.asc a, th.desc a {
        margin-right: .75em;
    }

    th.asc a:after, th.desc a:after {
        display: block;
        position: absolute;
        right: 0em;
        top: 0;
        font-size: 0.75em;
    }

    th.asc a:after {
        content: '▲';
    }

    th.desc a:after {
        content: '▼';
    }

td {
    padding: 0.25em 2em 0.25em 0em;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}


/********************
*   Mobile Styles   *
********************/

@media only screen and (max-width: 850px) {

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

        #login a:hover {
            color: #333;
        }

    /* menu */
    nav {
        margin-bottom: 5px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

     /* features */
     section.feature {
        float: none;
        padding: 10px;
        width: auto;
     }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }


    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }
}
